package util.android.cuestionario.fragment;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;

public abstract class CuestionarioFragmentAdapter 
extends FragmentStatePagerAdapter 
{
	
	//private final int NUM_PAGES;
	
    public CuestionarioFragmentAdapter(FragmentManager fm) {
        super(fm);       
        //NUM_PAGES = nPaginas;
    }

    @Override
    public Fragment getItem(int position) {
    	CuestionarioDefaultFragment f = new CuestionarioDefaultFragment();
    	f.setPosition(position);
        return f;        
    }

	public void onResumeActivity() {
		
	}

   
    /*
    @Override
    public int getCount() {
        return NUM_PAGES;
    }*/
       
	public abstract void abrirObservaciones();
}